package com.medical.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.medical.common.utils.PageUtils;
import com.medical.goods.entity.CommodityEntity;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-08-13 20:42:37
 */
public interface CommodityService extends IService<CommodityEntity> {

    PageUtils queryPage(Map<String, Object> params);


    List<CommodityEntity> check(Integer tid,String name);

    void add(CommodityEntity commodity);

    void updates(CommodityEntity commodity);

    void delete(Integer id);
}

